﻿<%@page contentType="text/html; charset=UTF-8" %>
<%
	String path = request.getContextPath() + "/";
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!doctype html>
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>支付成功！</title>
<link rel="stylesheet" type="text/css" href="<%=path %>css/serverBusy.css">
</head>
<body>
<div id="wrapper"><a class="logo" href="/"></a>
  <div id="main">
    <div id="content">
      <h2>支付成功！</h2>
      <p>当您看到这个页面，表示该笔交易已经支付成功 ，感谢您的支持!5秒后将自动关闭</p>
      <div class="utilities">
        
      </div>
    </div>
  
  </div>
</div>


 <!--定义js变量及方法-->
	<script language="javascript" type="text/javascript">
/* var second = document.getElementById('totalSecond').textContent;


if (navigator.appName.indexOf("Explorer") > -1)
{
second = document.getElementById('totalSecond').innerText; 
} else
{
second = document.getElementById('totalSecond').textContent; 
} */



var second = 5
 setInterval("redirect()", 1000); 
function redirect()
{
if (second < 0)
{


window.close()
} else
{
	second--
/* if (navigator.appName.indexOf("Explorer") > -1)
{
document.getElementById('totalSecond').innerText = second--; 
} else
{
document.getElementById('totalSecond').textContent = second--; 
} */
}
}
</script>
</html>